Skip to content

Fix ImportError crashing one-shot mode#4

Open
hiskuDN wants to merge 1 commit into
JailbrokenAI:mainfrom
hiskuDN:fix/one-shot-import
Open

Fix ImportError crashing one-shot mode#4
hiskuDN wants to merge 1 commit into
JailbrokenAI:mainfrom
hiskuDN:fix/one-shot-import

Conversation

@hiskuDN

@hiskuDN hiskuDN commented Jul 9, 2026

Copy link
Copy Markdown

_one_shot imports RunLog via from ..session, which reaches beyond the top-level package and raises ImportError: attempted relative import beyond top-level package — crashing every one-shot (wallbreaker "<prompt>") run. session is a sibling of cli, so this uses a single-dot import.

_one_shot imported RunLog with `from ..session`, which escapes the top-level
package and raises ImportError, crashing every one-shot invocation. session is
a sibling module of cli, so use a single-dot relative import.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants